package org.example.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("myorder")
public class Order {

    private Long id;
    private Integer userId;
    private String orderNo;
    private String status;        // 订单状态
    private Date createTime;    // 创建时间
    private Date payTime;       // 支付时间
    private String transactionId; // 支付交易号

    private BigDecimal totalAmount;
}
